login controller redirection changes