added account constructor to deposit