pub fn validate_token(req: &HttpRequest) -> Result<String, Error>
Validate a JWT token from the request