added user and password authentication