add homecontroller to handle default document