added proper username and email variables to json