Finished basic functionality for RBAC