Added Roles API with testing cases