adds mvc context handler