chat now clears after deleting file. login is now mandatory