Register role correctly