Redirecting to home page on missing session