removed some debug crap
added id to resource parameters of service