Add optional pretty=true parameter to all api calls
Add error message when there's a problem logging in
Add error message when bad contextualization_method params come in