added features for basic search for posts