ServerThread class now handles MySQL exceptions for existing username/EGN. User class updated.