changed user json to return email instead of username