Jasmine test for login 1

please code review