BasePage is now inyected with a context object with global variables