add course model, integrate course field into user and subject