RESTful API using Cakephp : version 1