Redirect user links to home page if not logged in