check whether the user is connected to a server with aop