redirecting logout to homepage