My current logic is, taking two inputs from form where one is primary book and one is secondary book and save it to database with is_primary check being true for primary boo