1) Fixed the login issue for good. 2) Fixed a bug in trend service.