added connect with db