Add validations in team model; add field association :course in form team.