added login with password authentication