Only check for redirect if logged in user is lender
Fix flash messages