Duncan's changes: Replace hard coded path with path for home with url_for ('index')