added controller routes and continuing on backend
merged the two