Added roles to users and states to lessons.