Jagan-
1) get role from session
2) viewDoc correct role validation
3) check user role for viewing in accInfo.php