adding auth method