removed unnecessary redirect when user logs in