add authentication support