server socket refactored, user controller on client.