login time update on page refresh