added unit test for login activity