added auth method