Added authorization method