fix login counts speed using rest, closes #152