Implementation of first Basic-Function: getStatisticsForUser