made user info interceptor more null safe for client side