implemented regex patterns and field requirements for create account form