RESTful routing for registration