added api account validations