parameterized queries and changed int type to bool for Is_Required, Is_Organizer fields