Added basic authorization method