adds constraints, labels, text fields, and a button - logs text input