Close and logout buttons
Created the logic for store the unread items