updated title to be a link to the home page, updated the code snippets to be more readible