added conversion from string to array in insertMemberActivities instead of in insertNewMemberDetails