fixed some bugs so that pages loaded the favorite food if there is one and a smiley face otherwise