using pg instead sqlite3
Added page home