maha | added an endpoint for the form resource. small re-factoring