Add secure token and preferences view