add server status API request and useful functions