Added authorization token generation