refactoring:processing getpass.php