add a views for loans