Logistic regression (within-subject model)

Hi everyone,

I have performed an experiment with 1 dependent variable (2 levels) and 2 independent variables (2 and 6 levels). It seems to be clear that I should do a logistic regression. However, I have performed 150 trials per participant so it is a repeated-measures design. How should I go about this? Can I still do a logistic regression? Should incorporate a factor 'person'? I would greatly appreciate your help:)

Kind regards,