expect request from terminal with username and rec_name parameters