Fixing redirect for logout