Added a test for not logged in users