save the account only if it has been created

fixes #217


@tomneedham