using password authentication to connecto to database