Added error flashdata for length of the name validation