ticket:4 context processor implementation