adding external id to user model