Fix for new_classes insert still using email variable rather than user_id