removed print from authorize()