Added a register route to the backend