Implement /roles and /roles/{rolename} routes.