added search for posts
Merge pull request #3 from nishantchandra/addsearch

added search for posts