Updated ControllerHandler to register and edit user profile