status tests and assertions to ensure user is logged in