Implemented basic password login.