fix(dashdoard): add logout event function