Restructuring User Class

Removed UDP connection handling in user class.
Various Fixes

Changed UDP communication to exclusively in this class. Fix other
various bugs.