changed database from sqlite3 to pg
added username and name to users