Created crud service for register, api serivce to register and test cases for register