login form bugfix