Made corrections on previous style application
Add document viewing page
Fix wrong variable name