Server interface for Register

Close #116
Merge pull request #171 from COMP231-S62G1/Release03

Server interface for Register