adding db and auth changes