Corrected handling of login time