[Fix bug 951503] Add model field and periodic check for user inactivity.