Added try statements around user loans get statements