Continued work on password() function