Implemented DB-based RBAC