Implement server-side logout