Fixed typo, changed ioUser function to checkUser function