adding search to User model
merged