removed remote & server database func now that we are using conf files