Added ability to create and view documents (as a teacher).