added postgres as default db, added helper function for full page titles