controller coookies access
implemented internal rack middleware