Updated Login and Register