function refreshList() {

  fetch('/getUsers')
    .then(response => response.json())
    .then(data => showOnlineUsers(data))
    .catch(err => console.log(err));
}
/**
 * @function refreshList - Keeps updating as new users log in
 */
@function refreshList - Keeps updating as new users log in
@function refreshList - Keeps updating as new users log in
function refreshList() {
  fetch('/getUsers')
    .then(response => response.json())
    .then(data => showOnlineUsers(data))
    .catch(err => console.log(err));
}
function refreshList ( ) { fetch ( '/getUsers' ) . then ( response => response . json ( ) ) . then ( data => showOnlineUsers ( data ) ) . catch ( err => console . log ( err ) ) ; }
@function refreshList - Keeps updating as new users log in
@function refreshList - Keeps updating as new users log in