non working implementation of auth test