Implemented RegisterHandler for /register