You should speak to a lawyer ASAP obviously but I'm confused: you signed a contract that required you to sign the contract at the end of the contract?
Not quite fair for the OP to talk about the contract being "f**ed" and using the word "recourse", as if the company did something wrong.