function for generating an overview of all users' data