user model and user_doc relations