More refactoring

Took out hard coded account information in ug.js.  Refactored code to
make it cleaner.  Made menu items active.