Took out login from ui.js