Remove useless code from home controller.