Put controller logic into User model and removed unnecessary and redundant logic from StudyGroup and Course models
Merge pull request #9 from dkumar/it2_tests

Put controller logic into User model