Searching users by conditions