,i was behind him and tried to swerve around but i hit the kerb as i was heading or someones drive entrance and hit the deck hard.
You seem to be saying in the OP that there was insufficient distance between you and the bicycle in front of you. As a result of this you were unable to stop or take evasive action without losing control and crashing.
I think I'd be inclined to sue the rider in front of you for not leaving enough space behind him.
I hate it when people do that.
One way or another, it all seems to be someone else's fault and I think they should jolly well pay for your repairs.
Aren't other people simply awful?
I only wish it had been my fault.... I'd pay up in a jiffy. Grrrr... Other people!