add deposit function to account