fixes for login form