Fixed bug when trying to get feed data when user is not logged in