if not logged in, redirect to homepage - DONE