added regex and min length for signup