Add Transaction to the database