fixes login form