Got home_apps in database and displayed with render_template