refactor ArticlesController#index
refactor articles searching