Changed the userUp function of socket client to send actions recieved from emit.