enhancing user experience with APIs