prepare for database reuse
return tagged result from db get
add websocket dispatcher, not tested yet