changed the redirect path to cookbooks_path when creating a new cookbook