Fix bug with sign in