Use web sql and web service