Updated logic to prevent unauth posts