socket and user in conjunction