use a cookie to set the username. when the user first registers set a cookie with the username as one of the values. then when the user logs back into the site have the page with the login check for the existance of the cookie (some users may not want to accept cookies and therefore can not use this functionality) if the cookie is there, read the value of the username and show this back on the page with the login as the username, leaving only the password to be filled in.
hth