Initial functionality for a pre request hook