user model condition added