Submit and Edit both working on cakephp