Fix minor bugs

Including async authentication, last username memory, rating bug.