Added user validation when creating new posts