setting login time before nullcheck