null pointer checks UserActions