sets up homepage