context added into handler to manage global variables