updated post page search logic and ui