add loading message for long queries. changed http calls to https