modified mailHomepage and added new Activity class as well as the friend activity section in homepage