Reading in a user name

I have a very basic that gets a passed username from a text box and has
that variable stored somewhere; the next step is to pass that to a
Google login client and accessing the associated account