fix issue with autosignIn