added:trim to the text fields entered by the user