changed auth for db