Divided home view into index for logged-out users, and home for logged-in users