When I try to use the user_name from $_SESSION I get the error
'Undefined index: user_name'
CODE:
  $_SESSION['signed_in'] = true;
  while ($row = $query1->fetch(PDO::FETCH_ASSOC))
  {
    $_SESSION['user_id']    = $row['user_id'];
    $_SESSION['user_name']  = $row['user_first_name'];
  }
  echo 'Welcome, ' . $_SESSION['user_name'] . '. <a href="index.php">Proceed to the overview page to see your tasks</a>.';  
 
     
    