added api namespaces routes and changed devise path