login unit test complete