applied the patch that uses redirect.php for login