changed unique validation of name to branch scope only in course model