added main page to wire the queries
Wired all the queries with home page