added edit form and controller

Not fully functional yet