bug fix: if invalid friend name, proper message is displayed