Uploaded loan wrapper to handle redirects.