add and edit moved to routes, but edit not working