add some logging
authorize test