Moved the password and email regex validation to a utility class called InputValidator. This way it can be used in the registration view as well. Started adding connections to the UI components in the Registration code.