fixes logic on empty usernames which are nil, using rails .blank?