Added association for Transaction, access control, create function