removed unnecessary validation from login form validation