bug with login form fixed