added scala auth