added controller for home page