code: private void handlePageRender(final HttpServletRequest req,
        final HttpServletResponse resp, final Session session, final ProjectManager manager) {
      final User user = session.getUser();
  
      final Page page =
          newPage(req, resp, session, "azkaban/webapp/servlet/velocity/index.vm");
  
      if (this.lockdownCreateProjects &&
          !UserUtils.hasPermissionforAction(this.userManager, user, Permission.Type.CREATEPROJECTS)) {
        page.add("hideCreateProject", true);
      }
  
      if (hasParam(req, "all")) {
        final List<Project> projects = manager.getProjects();
        page.add("viewProjects", "all");
        page.add("projects", projects);
      } else if (hasParam(req, "group")) {
        final List<Project> projects = manager.getGroupProjects(user);
        page.add("viewProjects", "group");
        page.add("projects", projects);
      } else {
        final List<Project> projects = manager.getUserProjects(user);
        page.add("viewProjects", "personal");
        page.add("projects", projects);
      }
  
      page.render();
    }
docs: Renders the user homepage that users see when they log in