connected with websocket
#err:db connection needs to be right