Sockets in UI and Create Users

Moved Create users function from main to user.cpp and added sockets (and
socket constructor) to user interface class