Two concatenated links throwing an error upon attempted logout
The issue is you have href="users/logout" not href="/users/logout", eg, it's a relative url, and thus building upon where you are in your site.