add postgres and config
add user model