(fixed) Login issue for inactive users check