auth push state js fix