This module defines the utility functions to extract token from request and to send unauthenticated error on response if token is not present