changed getUser to retrieve email instead of username