Roles

Added roles functionality to douglas. Code needs to be added to the different views to makes it useful but the functionality is there.