Subscribed students and teachers can only view the documents

Also made some layout changes.