added ping permission for global ping
added user agent to api curl
prepared timer page for datatable
fixed when jabber username is set