pass tests for login logout