adding edit and new functionality
going back to RestController