changed default to index
added ! in title
attempt 1 to fix span
attempt 2 at fixing span
adding send email function