adding auth def