android uses logout db function