def get_sender_alias
      puts "What is your name?"
      while @from_alias = gets.chomp
        catch :badalias do
          puts "Are you sure your name is #{@from_alias}? [y/n]:"
          while alias_confirmation = gets.chomp
            case alias_confirmation
            when 'y'
              return
            else
              puts "Please re-enter your name:"
              throw :badalias
            end
          end
        end
      end
    end
def get_sender_alias
      puts "What is your name?"
      while @from_alias = gets.chomp
        catch :badalias do
          puts "Are you sure your name is #{@from_alias}? [y/n]:"
          while alias_confirmation = gets.chomp
            case alias_confirmation
            when 'y'
              return
            else
              puts "Please re-enter your name:"
              throw :badalias
            end
          end
        end
      end
    end
Get user's alias and confirm