reorganized headers and index pages based on user session and user type