Added logout feature into sample app. Migrated services with login methods in the oauth2 client.