now it will delete token in localstorage when logout.