create session checker

Signed-off-by: mfebrianto <michaelfebrianto@gmail.com>