add code for home page, app