Work with logging out. Date on announcements is displayed correctly