Fixed add_context when users are not logged in