New method uploadToken and also added Laravel 4 API.