updated controllers, app still not properly working after authorization