working on server.js for pg connection