How to get infromation from a Text Field

Please enter your username and password.
  username: