added logged_in? to test helpers