added foreign key contraint for group and client in loan table