moved socket code
moved user and random functions
auth to utils
auth to utils
auth to utils
added socket code
moved auth code
refactoring