test for not logged in fix