Fix sign in bug