implemented save and search functions to ui for book, author and genre; added validation method for all