Server and app for loaning out and reserving books