added support of server-side database transactions