Fixes authentication issue, adds a helper for du method and several validations