Corrected res.send for errors in github signature