made userName virtual to reflect _id of the User model