Lending system, written in MEAN.io