#13 Implement logout functionality