Added different homepage for logged-in users and not logged-in users