added auth to db connection
updates to auth process on db