infinite wait if user is not logged