length validation for microposts