Added logout() trigger