add search and add post template