Fixed the login and private message bug.