logout

fun logout()

Logs out the user by setting isUserAuthenticated to false and removing the token from encrypted preferences.