added welcome middleware constructor