user model changed id to email