main: Fix borrowing strings compilation error

Also make a minor correction to .expect() for username

Merge request reports

Loading