still trying to get key based auth working