Add cookie based auto refresh feature to all views