added safe password input