user credentials sending to postgres