- implement register & authorize