Use the various codes assigned to each user of the library to create statistics.
By combining those codes, you should be able to adapt the application to the particular needs of your library.