Added server logic flowchart