Added Login unit test

Added login unit test