Changed controller to extend ZendRestfulController