Added registering, passwords, and some threadByID bugs.