            throw new AccountNotFoundException();
        } else {
            SessionDto dto = new SessionDto();
            LOG.log(Level.INFO, "Session fetched for {0}", token);
            AccountEntity accountEntity = accountRepository.findOne(UUID.fromString(token));