Adding api for roles