Added data persistence from chat to WebSQL database