Almost finsihed cs283 web service assignment, need to put finishing touches and add 2 more functions