now stores users taken classes in an array in the database