added system preferences option to set the period for session timeout