only send auth and db if relevant