changed mixin loginx with exceptions
fixed mixin