Prevent the viewing of assignments that a user is not enrolled in

Fix #4
Merge pull request #5 from xtfc/bug/4