add context processor method for put settings into context