Adds apis for discussions and groups

Adds needed apis for us to show the correct discussion for students who are
part of a group discussion.