Brown spotting before periods??

Ah

Ok so we have been trying for 4 months and last month i saw some brown spottings and 2 drops of blood just 5 days before my Af date. So i thought maybe its implementation bleeding and took a test which came back -ve followed by same pregnancy symptoms which i had a year before having miscarriage (1st preg.). Then took a test on due date 7th march which showed vvv faint +ve line. Waited for it to get darker. Then after 2 days on 9th march did appointment with gp while Dr was checking my abdomen and pressing hard i started bleeding and did urine test which showed -ve line and my periods started. But i knew for sure something was there. Maybe chemical pregnancy because why would i have felt pregnancy symptoms and a faint line.

Now almost a month later, from 2 days im having light brown spotting and periods like cramp but np bleeding like i used to have before periods.

What is this spottings it never happened to me before but past 2 months i am having?? Someone enlighten me on this. Any information. Because it never happened my periods normally came on time and bleeding was normal never brown spots. Thanks for reading.