adding test for login