Added function to check if post_title is unique