refactored get_password invocation with new parameters