Updated example code for session scoped interceptor