Added action to login.php