bug fix in login form