group detail to user detail logic changed