Fixed bug where revision wasn't registered on login.