Lend functionality added, minor css adjustments