added tests to login controller for opening login modal
added tests for logging out