search database function and changed view layout
Merge remote-tracking branch 'origin/master'