Add test for login Action