well, first of all the intagrand is an even function and so we just need to find the integral over then by parts gets us somewhere that we only need to find as you showed yourself. to find the value of i didn't use contour integration:
let first note that and so:
on the other hand, thus with solving this simple differential equation gives us
and therefore