Adds polling for activity feed on home page and ajax to accept/reject friend buttons.