function loadUserInfoOnForm(){
    checkAuthentication();

    document.getElementById('firstName').value = userInfo.firstName;
    document.getElementById('lastName').value = userInfo.lastName;
    document.getElementById('gender').value = userInfo.gender;
    document.getElementById('dob').value = userInfo.dob
    document.getElementById('email').value = userInfo.email
}
// This is used by the modifyUser form to load the user info from sessionStorage
This is used by the modifyUser form to load the user info from sessionStorage
This is used by the modifyUser form to load the user info from sessionStorage
function loadUserInfoOnForm(){
    checkAuthentication();
    document.getElementById('firstName').value = userInfo.firstName;
    document.getElementById('lastName').value = userInfo.lastName;
    document.getElementById('gender').value = userInfo.gender;
    document.getElementById('dob').value = userInfo.dob
    document.getElementById('email').value = userInfo.email
}
function loadUserInfoOnForm ( ) { checkAuthentication ( ) ; document . getElementById ( 'firstName' ) . value = userInfo . firstName ; document . getElementById ( 'lastName' ) . value = userInfo . lastName ; document . getElementById ( 'gender' ) . value = userInfo . gender ; document . getElementById ( 'dob' ) . value = userInfo . dob document . getElementById ( 'email' ) . value = userInfo . email }
This is used by the modifyUser form to load the user info from sessionStorage
This is used by the modifyUser form to load the user info from sessionStorage