feature(messages) added renew messages sending on presence

refactor(sql) changed jidify to stringify_jid