check user state by trigger