We've got a basic login setup working here, with main.write and updateLogin().