Corrected logical error in user.active