added redirect and items to controller, print out data