Fixed the UI to be working with the trigger created yesterday. Also did some validation on the user values