Fetching correct data for the user, group and stats views.