Build search_fields dynamically by checking field existence in user model. Closes #724