Update server.js

Added a service to save and retrieve [id,name,surname,sex] to/from a Postgres database