route devise to backend
prepare authentication for controllers