added toast to mainactivity if server is unavailable