commiting add journal entry functionality