Added active portal functionality