Adding API token to the edit page