continued fixing document view page
updated logout and back-home links