Adds the homepage template. Adds login redirect to homepage.