Adding validation to micropost