fix(core): handle user id edge case

Signed-off-by: rajan <rajan@playlyfe.com>