added database query iterator (useful for large datasets)
remove Exception when reading API
clean all errors if user is valid