added bar username to main.js