make last test pass for logging in and logging out