sort users by groups Controller and changed view