added roles and functions views. reformatted all views into table outputs