fix bug in checking if sign in