Updated RegistrationServlet