adding gateways for permission/role and basic views for permission/role