Trying to connect socket io with users view