added view for loan