Fixing the logout urls, etc