finish search function by jitongming
Merge branch 'guan'

Conflicts:
	app/controllers/welcome_controller.rb