hooking in cookie on read if cookie exists