moved account functions into a separate file/namespace
adding transactions