fix bug: time and login