Redirect from login fix