changed index file back to .erb; added a footer