#4, #5 activated to get data from restcontroller