Add home index and view page