Modify for use a user input for secret phrase can't make api work...