Added some validation to the micropost model