added filter for controlling viewed posts cookie clearing depending on user user specific conditions