logout

fun logout()

Logs out the user by resetting the authentication status and removing stored credentials.