Ws with db connect