Remove duplicate getUsername($userId) function.