search functionality is added by post
searching across posts and events are added