logout redirects work