More changes. Added auth method.