refactored router js to properly reflect lender url routes