added error checking for repeated parent id numbers when adding new mouse to database.