Since my page and your page are essentially identical except for the session stuff I would say we add the session_start() here. After set the session username variable.