quick fix for encoded usernames
fix fatal error when usernameToUser is empty