Add validation for creating a post when not authorized to do so