implemented new method auth and tests
implemented new method config and tests