adding functionality on home.php