insert logout in shared links