bug fix function logout #3

 fix for the Urls with /uri/