make the restful webservices work