Logout functionality
Refactor out common service compositions