include last user role in api in each membership

[#71581908]