Polling on the home page

Add polling to the home page to regularly update badges in the header, friends in the friends list, and activities in the activities list.