template app, db not yet working