adding basic roles functionality