Added ability upon login to read the cookie set by server and extract
the username