help.

I'm feeling very heart broken. me and my husband got married in court, however someone told me my marriage doesn't count in the eyes of God because it wasn't done in a church. Is that really true? am I living in sin? is my husband not my husband in the eyes of God? we can't afford a church marriage and being married a year the point is kind of moved. someone help me get some clarity.