Moved userName to MainUI and made static for easier access.