adding a restfulcontroller example