change method of calculate user finance.

Save date of transaction to db
Merge pull request #62 from Maciekek/dev/#61

Change method of calculate user finance.