Fixed home.php

Fixing home.php to include query.