Added API groups and roles index methods. nothing tested yet:D