fixed problems with login form