modified routes, updated application controller