Now role attribute will be the id to avoid security problems