change database to postgresql and fix static test title page