PHP MySQLi Books and Authors manager