login registration and incomplete chat