added homepage functionality to the work page