added homepage and controller