Implementing the users report by grouping any specfic attribute.