fix registration route