RESTful loan process example