Added active user funcionality