Fix some comments and remove loginInfo class.