implemented ‘start at login’ preference.