removed redundant storage of username in the dom