Complete Search with user preferences and field validations (added with your changes)