Add API-Function to check whether I am online or not