check uid