Updated code for the new homepage