edited backend and added resources to the rest webservice