added validation from empty email on login