Add constraints to text fields

Upon device rotation, the text fields would not be centered. Added
constraints to center the fields upon rotation.