Automatic user online detection