updated transactions controllers and unit test