fixed bug on the challenges page for non-logged in user