add admin and socket.