Added roles
Added rudimentary authorization.