error handle

error handling: user store, and API version