Added code for server DB