Fixed redirection after login