added logging when user does not have permission for something