Write authorize_with method, incorporate