user constraint for posts