made roles optional by adding default empty array