Fix lot of entities bug and delete Role entity.