Feeling hopeless.

Kelsey • Mommy to one angel👼🏼; Lucas agustin born 23may2018🌈
So I went to the ER Thursday night because I was experiencing some bleeding. So they did a pelvic exam and my cervix is closed, so they took some blood and they said it was around 200 which is low, and so the did an ultrasound vaginially and on the stomach and couldn't see anything. They're worried that I'm in the process of a miscarriage, so they gave me an appointment on Tuesday to see where if my levels are rising or not. But today I went to the bathroom and there was more brown blood than before and I have some mild to moderate cramps in my lower back and around my belly button, so after I wiped, I looked in the toilet to see this 
And so I got a glove and took it out and this is what it looked like 
This is my first pregnancy and I'm 5w4d. Is this a miscarriage? Is this how it starts?