small code refactoring; adding sketches of adverts search to the home page