Implemented post search with PostSQL