improvements to login form