Add token authentication and features.