Logout - redirect uri code optimzation