Hi mate.
1st game it looks like you just didn't see the danger of the position but your opponent had. Do you see black play Qg6 on move 38? Why would he move his queen out of file from the rook? That would've triggered alarm bells for me. I'm sure you won't get caught out like that so easily next time
2nd game you castled your king into an semi-open file which probably wasn't the wisest choice. Queenside would have been better since you had a nice pawn wall there. Sure there were pieces yet to develop, but that would have been my short term goal since your remaining king-side pawns were isolated and not really offering any defensive structure.
Just some thoughts from a fellow sub-1000 player.
I have just lost both of these games as White. In the first I wasn't really in a commanding position throughout but felt I was pulling it together and with move 40. Qb4 was attacking Blacks undefended Rook. To my surprise Black moved and I'd been checkmated.
In this second game I was according to the computer report winning throughout most of it. As you can see at the end I was eyeing up trying to promote the pawn on the b file. Once again Black moved and I'd been checkmated.
Am I being a complete noob here, or is this common among players at the 850 level?
I'd appreciate any feedback on the game as a whole as well.
Thanks in advance.