added id setup to user model on creation of object from existing object in db