Put request handler functions in separate variables