logout method

Future logout()

removes the credentials from local storage and therefors logs out

Implementation

Future logout() async {
  (await _c_user)?.unstore();
  _user = null;
  debugPrint('user logged out');
}