added auto mapping for roles