Adding query as well as search for nearest active users as per the coordinates