/**
* @brief Clears account information from settings
*
- * @param keepUsername keep = true, false otherwise
+ * @param clearUserInformation True if user information should be cleared
*/
- void clearAccountInformation(bool keepUsername = false);
+ void clearAccountInformation(bool clearUserInformation = false);
/**
* @brief Is the user currently logged in
*
* @returns True if the user is logged in, otherwise false
*/
- bool isLoggedIn();
+ bool isLoggedIn() const;
/**
* @brief Initiate login process
/**
* @brief Log out
+ *
+ * @param clearUserInformation True if user information should be cleared
*/
- void logOut();
+ void logOut(bool clearUserInformation = false);
private:
/**