added client update/delete, fixed routes, renamed template client-insert and made it dynamic, fixed links in js