return username and email upon registration