more tidying up of home.php