Update on the webservice for register function

Parameters added to the webservice method.