added search and refactored front page