MIFOSX-1670 : Modified Code for Role Functionality

@vishwasbabu 

This is complete new pull request for role functionality
Typo in this td