Be their mother/mum, not their friend. They'll probably hate you for it, until they grow up.
When it comes to discipline be firm, be tough, but never be mad. Just be right, explain YOUR point and listen to theirs. Always hug them.
I was a single father for almost 12 yrs. The family, YOU and THEM, come first. Life is long term, don't expect instant gratification.