Added some api stuff to the server