add comments in the serach route method, and method improved