req handler