adding home page text and sql statements