Cookbook create and listing done, using the set_admin function in applicationcontroller.