added functionalities to home.html