Added bases of log out time managing