Updated contacts with logout functionality