Registration completed 

Close #100

Test cases written for controller.