set correct time at login