adding home page and controller