feat/ Send requests to server, minor refactoring

@phoenix16t @armandopmj -- I wrote a lot of GET and POST requests to the server (code found in /client/www/js/services.js). Please take a look at them and let me know what you think.