added catalog.jsp logic and search controller