How can pay day loan operate in the uk?

How can pay day loan operate in the uk? A quick payday loan was a