Attempting to fix bug with users not logged in.