Adding basic time functionality, logout