Added max lengths for reg form