Add new page links to the home page by querying db