add code examples
remove error message section since it's more a back-end concern