Added a verify_pattern function.  Appears to be working for the first user to enter his/her information but not for any others.