Redirect fix in the login page