java - interactive library catalog system with users and books