Server interface for Register

Close #116