Working login and chat.