logged in and logged out tests pass