changed the custom view to use the HttpHeaders instead of a cookie