Registration script

I'm pretty new to unity,I just started using it this year in my game design class at our career center.My team is making a game and I am having trouble finding a script that i can use to have someone signup and login in a GUI box.It would be nice if someone could provide this for me to use.I am running the 2.6 version.

You could use GUI.TextField, e.g.:

function OnGUI() {
  GUI.Label(Rect(10, 116, 100, 100), "Username: ");
  username = GUI.TextField(Rect(100, 116, 200, 20), username, 25);
  if ( GUI.Button(Rect(100, 166, 100, 24), "Login") {
    // ...