add require http in controller