redirecting to home page on logout