Fixes Login trigger