fixed up the home page so that it works for users that dont have history items. that was my bad