Added controller and view for index page