Implement middleware for tokens - ServerToken