Fix bug for authorizing