added constraints to the Textfied