make `register` conform to response/request model. `data: token.toString('base64')` would imply error. put in a object to imply success

Created by  boogerlad  on July 22, 2020
P7WD6WSAMHM2UEDTWZW4WPHIFKJHOEELCHSBJ7YB5D57C7YEOVFQC
Change contents