configured database to use postgres and created users migration