changed root controller to application controller