creating searchable block in user.rb