I think you played it fine until the bet on the river. Maybe the flop bet could have been a little bigger but with just 3 seeing the flop it's not out of line. The pre-flop limp is not uncommon either from UTG. You just have to remember that with a limped pot, anything is possible.

But the bet on the river is a big mistake. Only a hand that beats you calls that.