created index method in welcome controller