fix sessio time-expired login procedure
merged