Apply group type fiter 1013

@mattdrayer  @chrisndodge 
Applied group type filters on users, courses list and wrote their test cases as well.