Fixed SEARCH-POSTS
Added api funcs for searching