Learned how to connect my index

added HTML to index and def in controller