enhance template to include buttons and textfields. add interactions with buttons and labels