Check non-positive amount

Add the check of the amount for deposit, withdraw and transfer. If the
amount is not positive, give user the error message and return