overhauled template backend, users can edit now and moved del and save functions to ajax to preserve current form data