fix register if signed in