make most of the tests for logging in and logging out pass. have one left, understand the problem, haven't fixed it yet.