Return value for checkToken function not needed.