modified login_form
added fix for login