Added login redirection