Improvements to the employee loan functionality