Added secure_token method