convert handler saveHandler to use commonHandlers
use Gorilla Newrouter