started writing tests for login process