added password login.