added error message function, added autoincremented id, modified deposit and withdraw functions