completed adding user to psql database. Added callback for error @