Remove action.php and added email validation for login