modfied get_roles to return role array
added user role changing