Add Database ping function