Deleting method in controller used by ajax
Formatting values, reusing information from server and creating form