this bug was throwing issues with users that were not logged in