Added users online middleware