update

registration, encryption and chat.