Fixed returning to the login form issue