add a StaticPages controller
complete seach process and showing result